package com.generation.Bean;

/**
 * @author mockingjay
 * @date 2023/4/3 - 11:45
 */
public class FieldInfo {

    /**
     *  字段名称
     */
    private String fieldName;
    /**
     *   bean属性名称
     */
    private String propertyName;
    private String sqlType;
    /**
     * 字段类型
     */
    private String javaType;
    /**
     * 字段备注
     */
    private String comment;
    /**
     * 字段是否为自增长
     */
    private Boolean isAutoIncrement;

    /**
     * 字段是否是主键
     */
    private String PrimaryKe;


    public String getPrimaryKey() {
        return PrimaryKe;
    }

    public void setPrimaryKey(String primaryKe) {
        PrimaryKe = primaryKe;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getSqlType() {
        return sqlType;
    }

    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Boolean getAutoIncrement() {
        return isAutoIncrement;
    }

    public void setAutoIncrement(Boolean autoIncrement) {
        isAutoIncrement = autoIncrement;
    }
}
